package com.lry.rpc.netty.client;

import io.netty.channel.Channel;

import java.util.concurrent.TimeoutException;

public interface MessageSender {

    Object sendSyncRequest(Channel channel,Object message) throws TimeoutException  ;

    Object sendSyncRequest(Channel channel,Object message, long timeout,int retries)  throws TimeoutException ;


}


